@import url('~@/styles/mixin.less');

.page {
    padding: 16px 24px;

    .courses {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .courseBox {
        display: flex;
        flex-direction: column;
        padding: 32px 24px 16px 24px;
        background: #fff;
        border-radius: 16px;

        .detail {
            display: flex;
            gap: 24px;

            &_cover {
                min-width: 263px;
                height: 148px;
                background-size: cover;
                border-radius: 8px;
            }

            &_info {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                &_name {
                    .line(2);

                    color: #333;
                    font-weight: bold;
                    font-size: 34px;
                }
                &_chapter {
                    color: #999;
                }
            }
        }

        .splitLine {
            width: 100%;
            height: 1px;
            margin-top: 26px;
            margin-bottom: 16px;
            background: #e5e5e5;
        }

        .operate {
            display: flex;
            justify-content: flex-end;

            .button {
                padding: 16px 24px;
                color: #fff;
                font-size: 28px;
                background: #1ebead;
                border-radius: 36px;
            }
        }
    }
}
